all: chaos discord confusion beauracracy aftermath

chaos: discordia.flex
	flex -o discordia.c discordia.flex

discord: chaos
	gcc discordia.c -o discordia -lfl

confusion: discord
	make -C ex/

beauracracy: confusion
	make -C doc/

aftermath: FORCE
	make -C ex/ aftermath
	make -C doc/ aftermath
	rm -f *.c
	rm -f discordia

FORCE:


